package org.zero.onlinesubject.mapper;

import org.zero.onlinesubject.entity.LiveRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity org.zero.onlinesubject.entity.LiveRoom
 */
public interface LiveRoomMapper extends BaseMapper<LiveRoom> {

    int isTimeConfict(String startTime);

    List<LiveRoom> getOwnLive(String userid);

    int updateViewCount(String liveId);
}




